//
//  WKUniversal.h
//  WeKeTang
//
//  Created by ichina on 2017/8/22.
//  Copyright © 2017年 Dezhi Tiancheng Education Technology (Beijing) Co. Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WKUniversal : NSObject
//保存头像
+ (void)saveImgData:(NSData*)imgData;
//读取头像
+ (NSData*)getImgData;

+ (void)removeImgData;
/* 获取当前设置的语言*/
+ (NSString*)currentLanguage;
/* 获取当前版本信息 */
+ (NSString *)getDeviceInfo;
/* 手机号码验证 */
+ (NSString*)validateMobile:(NSString *)mobile;
/* 把时间戳转换成格式为yyyy年M月dd的string */
+ (NSString *) intervalToDate:(long long int) interval withFormat:(NSString*) format;

+ (void)showInfo:(NSString*)info;

+(NSString*)getFileMD5AtImageData:(NSData*)imageData;
/*获取时间戳*/
+ (NSString *)getTimeStap;
//获取mac地址
+ (NSString *)macaddress;
/*处理数据*/
+(void)saveDefaultValue:(id)value key:(NSString *)key;

+(id)readDefaultValue:(NSString *)key;
@end
